<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: ActionInterval类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_action_interval-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ActionInterval类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>有限时间动作  
 <a href="class_action_interval.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_action_interval_8h_source.html">ActionInterval.h</a>&gt;</code></p>
<div class="dynheader">
类 ActionInterval 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_action_interval.png" usemap="#ActionInterval_map" alt=""/>
  <map id="ActionInterval_map" name="ActionInterval_map">
<area href="class_action_time.html" title="时间相关的动作的基类" alt="ActionTime" shape="rect" coords="369,112,605,136"/>
<area href="class_action.html" title="动作基类" alt="Action" shape="rect" coords="369,56,605,80"/>
<area href="class_non_copyable.html" title="不可拷贝对象的基类" alt="NonCopyable" shape="rect" coords="492,0,728,24"/>
<area href="class_action_move.html" title="匀速位移的动作" alt="ActionMove" shape="rect" coords="0,224,236,248"/>
<area href="class_action_sequence.html" title="序列动作" alt="ActionSequence" shape="rect" coords="246,224,482,248"/>
<area href="class_action_simple.html" title="自定义有限时间动作" alt="ActionSimple" shape="rect" coords="492,224,728,248"/>
<area href="class_animate.html" title="执行帧动画的动作" alt="Animate" shape="rect" coords="738,224,974,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:acc73648af87e0c9c7c64daf266448bdb"><td class="memItemLeft" align="right" valign="top"><a id="acc73648af87e0c9c7c64daf266448bdb"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getElapsed</b> ()</td></tr>
<tr class="separator:acc73648af87e0c9c7c64daf266448bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a62feefec443d8a99c644fd5f3a5d7e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_interval.html#a2a62feefec443d8a99c644fd5f3a5d7e">isDone</a> () const override</td></tr>
<tr class="memdesc:a2a62feefec443d8a99c644fd5f3a5d7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">动画是播放完毕  <a href="#a2a62feefec443d8a99c644fd5f3a5d7e">更多...</a><br /></td></tr>
<tr class="separator:a2a62feefec443d8a99c644fd5f3a5d7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af31c89d43ca311f700b66f6b4fa1f362"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_interval.html#af31c89d43ca311f700b66f6b4fa1f362">step</a> (float dt) override</td></tr>
<tr class="memdesc:af31c89d43ca311f700b66f6b4fa1f362"><td class="mdescLeft">&#160;</td><td class="mdescRight">执行一步动画  <a href="#af31c89d43ca311f700b66f6b4fa1f362">更多...</a><br /></td></tr>
<tr class="separator:af31c89d43ca311f700b66f6b4fa1f362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_action_time"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_action_time')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_action_time.html">ActionTime</a></td></tr>
<tr class="memitem:a26ddf8c69434dff6d3039fb9553b6247 inherit pub_methods_class_action_time"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_time.html#a26ddf8c69434dff6d3039fb9553b6247">ActionTime</a> (float duration)</td></tr>
<tr class="memdesc:a26ddf8c69434dff6d3039fb9553b6247 inherit pub_methods_class_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造  <a href="class_action_time.html#a26ddf8c69434dff6d3039fb9553b6247">更多...</a><br /></td></tr>
<tr class="separator:a26ddf8c69434dff6d3039fb9553b6247 inherit pub_methods_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ad30e5dec4ce6e9e9066fca99b11d04 inherit pub_methods_class_action_time"><td class="memItemLeft" align="right" valign="top"><a id="a4ad30e5dec4ce6e9e9066fca99b11d04"></a>
ActionTimeSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><b>convertToActionTimeSharedPtr</b> ()</td></tr>
<tr class="separator:a4ad30e5dec4ce6e9e9066fca99b11d04 inherit pub_methods_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef7b8a4258578e6961cd2f5b21bbfa9d inherit pub_methods_class_action_time"><td class="memItemLeft" align="right" valign="top"><a id="aef7b8a4258578e6961cd2f5b21bbfa9d"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_time.html#aef7b8a4258578e6961cd2f5b21bbfa9d">~ActionTime</a> ()</td></tr>
<tr class="memdesc:aef7b8a4258578e6961cd2f5b21bbfa9d inherit pub_methods_class_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:aef7b8a4258578e6961cd2f5b21bbfa9d inherit pub_methods_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a670512d9ce9d9c99e0513d4dcbcca6a5 inherit pub_methods_class_action_time"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_time.html#a670512d9ce9d9c99e0513d4dcbcca6a5">getDuration</a> ()</td></tr>
<tr class="memdesc:a670512d9ce9d9c99e0513d4dcbcca6a5 inherit pub_methods_class_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前动画的总执行时间  <a href="class_action_time.html#a670512d9ce9d9c99e0513d4dcbcca6a5">更多...</a><br /></td></tr>
<tr class="separator:a670512d9ce9d9c99e0513d4dcbcca6a5 inherit pub_methods_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a888a8844278a5ee1bf840f69f32fb843 inherit pub_methods_class_action_time"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_time.html#a888a8844278a5ee1bf840f69f32fb843">setDuration</a> (float duration)</td></tr>
<tr class="memdesc:a888a8844278a5ee1bf840f69f32fb843 inherit pub_methods_class_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前动画的总执行时间  <a href="class_action_time.html#a888a8844278a5ee1bf840f69f32fb843">更多...</a><br /></td></tr>
<tr class="separator:a888a8844278a5ee1bf840f69f32fb843 inherit pub_methods_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_action"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_action')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_action.html">Action</a></td></tr>
<tr class="memitem:abcf4c6358f53a666631ace11b325a7cd inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top"><a id="abcf4c6358f53a666631ace11b325a7cd"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#abcf4c6358f53a666631ace11b325a7cd">~Action</a> ()</td></tr>
<tr class="memdesc:abcf4c6358f53a666631ace11b325a7cd inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:abcf4c6358f53a666631ace11b325a7cd inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaedc5ce4440a7c69c77b96758399c6db inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#aaedc5ce4440a7c69c77b96758399c6db">runWithTarget</a> (<a class="el" href="class_i_actable_object.html">IActableObject</a> *target, bool <a class="el" href="class_action.html#ab95707df5eae3cafd471902fe169df67">isSuspend</a>=false)</td></tr>
<tr class="memdesc:aaedc5ce4440a7c69c77b96758399c6db inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动一个动画  <a href="class_action.html#aaedc5ce4440a7c69c77b96758399c6db">更多...</a><br /></td></tr>
<tr class="separator:aaedc5ce4440a7c69c77b96758399c6db inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f167f999787a3414a673c4e0f35d0da inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">ActionSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a3f167f999787a3414a673c4e0f35d0da">convertToActionSharedPtr</a> ()</td></tr>
<tr class="memdesc:a3f167f999787a3414a673c4e0f35d0da inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">转换为 <a class="el" href="class_action.html" title="动作基类">Action</a> 指针  <a href="class_action.html#a3f167f999787a3414a673c4e0f35d0da">更多...</a><br /></td></tr>
<tr class="separator:a3f167f999787a3414a673c4e0f35d0da inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27eeea2acc524f112d78df187cb541d9 inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a27eeea2acc524f112d78df187cb541d9">stop</a> ()</td></tr>
<tr class="memdesc:a27eeea2acc524f112d78df187cb541d9 inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止动画  <a href="class_action.html#a27eeea2acc524f112d78df187cb541d9">更多...</a><br /></td></tr>
<tr class="separator:a27eeea2acc524f112d78df187cb541d9 inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e46f722b2d0d429971ebdb540559e13 inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a9e46f722b2d0d429971ebdb540559e13">reverse</a> ()</td></tr>
<tr class="memdesc:a9e46f722b2d0d429971ebdb540559e13 inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置动画  <a href="class_action.html#a9e46f722b2d0d429971ebdb540559e13">更多...</a><br /></td></tr>
<tr class="separator:a9e46f722b2d0d429971ebdb540559e13 inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9a1f48a4229ffabe8bf61f3f7a38ded inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">const std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#ab9a1f48a4229ffabe8bf61f3f7a38ded">getName</a> () const</td></tr>
<tr class="memdesc:ab9a1f48a4229ffabe8bf61f3f7a38ded inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取动画的名字  <a href="class_action.html#ab9a1f48a4229ffabe8bf61f3f7a38ded">更多...</a><br /></td></tr>
<tr class="separator:ab9a1f48a4229ffabe8bf61f3f7a38ded inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab32da19af097fca6af05126fa466da98 inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#ab32da19af097fca6af05126fa466da98">setName</a> (const std::wstring &amp;tag)</td></tr>
<tr class="memdesc:ab32da19af097fca6af05126fa466da98 inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置动画的名字  <a href="class_action.html#ab32da19af097fca6af05126fa466da98">更多...</a><br /></td></tr>
<tr class="separator:ab32da19af097fca6af05126fa466da98 inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95707df5eae3cafd471902fe169df67 inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#ab95707df5eae3cafd471902fe169df67">isSuspend</a> () const</td></tr>
<tr class="memdesc:ab95707df5eae3cafd471902fe169df67 inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">动画是否被挂起  <a href="class_action.html#ab95707df5eae3cafd471902fe169df67">更多...</a><br /></td></tr>
<tr class="separator:ab95707df5eae3cafd471902fe169df67 inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab99c9033a92022d331b2d9f440aa8cbc inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#ab99c9033a92022d331b2d9f440aa8cbc">suspend</a> ()</td></tr>
<tr class="memdesc:ab99c9033a92022d331b2d9f440aa8cbc inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">挂起动画  <a href="class_action.html#ab99c9033a92022d331b2d9f440aa8cbc">更多...</a><br /></td></tr>
<tr class="separator:ab99c9033a92022d331b2d9f440aa8cbc inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40630cc3c99c32ca536848f24b90bfc inherit pub_methods_class_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#aa40630cc3c99c32ca536848f24b90bfc">resume</a> ()</td></tr>
<tr class="memdesc:aa40630cc3c99c32ca536848f24b90bfc inherit pub_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">恢复动画  <a href="class_action.html#aa40630cc3c99c32ca536848f24b90bfc">更多...</a><br /></td></tr>
<tr class="separator:aa40630cc3c99c32ca536848f24b90bfc inherit pub_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_non_copyable.html">NonCopyable</a></td></tr>
<tr class="memitem:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a501d34ffcc34b30de6d541887a901057"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aa3e87997196c6c1abf6131246a5331e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ad3b97d1f1e22a24e59619f01c5f81ad9"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aca1805bcfcb18eb044b585e69a18e1e0"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a683d257b8c086406dcbda4ada145bf7f"><td class="memItemLeft" align="right" valign="top"><a id="a683d257b8c086406dcbda4ada145bf7f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_firstRunFlag</b></td></tr>
<tr class="separator:a683d257b8c086406dcbda4ada145bf7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f32e3ee0f8ba765ae47d7904fdc75e6"><td class="memItemLeft" align="right" valign="top"><a id="a3f32e3ee0f8ba765ae47d7904fdc75e6"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_elapsed</b></td></tr>
<tr class="separator:a3f32e3ee0f8ba765ae47d7904fdc75e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_action_time"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_action_time')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_action_time.html">ActionTime</a></td></tr>
<tr class="memitem:a1c1b2cd35bc3129f558339cf3a5e16eb inherit pro_attribs_class_action_time"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action_time.html#a1c1b2cd35bc3129f558339cf3a5e16eb">m_duration</a></td></tr>
<tr class="separator:a1c1b2cd35bc3129f558339cf3a5e16eb inherit pro_attribs_class_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_action"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_action')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_action.html">Action</a></td></tr>
<tr class="memitem:a984ded37769cf745426e59b5d9424d2b inherit pro_attribs_class_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a984ded37769cf745426e59b5d9424d2b">m_isDone</a></td></tr>
<tr class="separator:a984ded37769cf745426e59b5d9424d2b inherit pro_attribs_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_methods_class_action"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_action')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_action.html">Action</a></td></tr>
<tr class="memitem:a4f457ccfc8336b565cadca56b36e0271 inherit pro_methods_class_action"><td class="memItemLeft" align="right" valign="top"><a id="a4f457ccfc8336b565cadca56b36e0271"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a4f457ccfc8336b565cadca56b36e0271">Action</a> ()</td></tr>
<tr class="memdesc:a4f457ccfc8336b565cadca56b36e0271 inherit pro_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:a4f457ccfc8336b565cadca56b36e0271 inherit pro_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31eaf968ef78ca9507199e123529bd39 inherit pro_methods_class_action"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a31eaf968ef78ca9507199e123529bd39">setActionTarget</a> (<a class="el" href="class_i_actable_object.html">IActableObject</a> *obj)=0</td></tr>
<tr class="memdesc:a31eaf968ef78ca9507199e123529bd39 inherit pro_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置动画的执行目标  <a href="class_action.html#a31eaf968ef78ca9507199e123529bd39">更多...</a><br /></td></tr>
<tr class="separator:a31eaf968ef78ca9507199e123529bd39 inherit pro_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac888e23f199eebebbbcfeaf9bf312bd9 inherit pro_methods_class_action"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#ac888e23f199eebebbbcfeaf9bf312bd9">update</a> (float ratio)</td></tr>
<tr class="memdesc:ac888e23f199eebebbbcfeaf9bf312bd9 inherit pro_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新动画  <a href="class_action.html#ac888e23f199eebebbbcfeaf9bf312bd9">更多...</a><br /></td></tr>
<tr class="separator:ac888e23f199eebebbbcfeaf9bf312bd9 inherit pro_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be6390eb71ff58037e8f8b7ddcb2f02 inherit pro_methods_class_action"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_action.html#a3be6390eb71ff58037e8f8b7ddcb2f02">startWithTarget</a> (<a class="el" href="class_i_actable_object.html">IActableObject</a> *target)</td></tr>
<tr class="memdesc:a3be6390eb71ff58037e8f8b7ddcb2f02 inherit pro_methods_class_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">目标开始执行这个动画  <a href="class_action.html#a3be6390eb71ff58037e8f8b7ddcb2f02">更多...</a><br /></td></tr>
<tr class="separator:a3be6390eb71ff58037e8f8b7ddcb2f02 inherit pro_methods_class_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>有限时间动作 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a2a62feefec443d8a99c644fd5f3a5d7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a62feefec443d8a99c644fd5f3a5d7e">&#9670;&nbsp;</a></span>isDone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ActionInterval::isDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>动画是播放完毕 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

<p>重载 <a class="el" href="class_action.html#af8a1b5aea4383d37df6e2a53dad6799b">Action</a> .</p>

<p>被 <a class="el" href="class_action_sequence.html#a0a590ea1976918246963f3fa2773f0f8">ActionSequence</a> 重载.</p>

</div>
</div>
<a id="af31c89d43ca311f700b66f6b4fa1f362"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af31c89d43ca311f700b66f6b4fa1f362">&#9670;&nbsp;</a></span>step()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ActionInterval::step </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>执行一步动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">float</td><td>dt 时间增量 （秒） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>重载 <a class="el" href="class_action.html#a86cd2041b439b7ca7bc59ce7d6e0aa12">Action</a> .</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/action/<a class="el" href="_action_interval_8h_source.html">ActionInterval.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
